package com.webside.sensitiveWords.service;

import java.util.List;
import java.util.Map;

import com.webside.sensitiveWords.model.SensitiveWordsEntity;

public interface SensitiveWordsService {
	/**
	 * 查询敏感词
	 * @param paramter
	 * @return
	 */
	List<SensitiveWordsEntity> selectAllWords(Map<String, Object> paramter);
	/**
	 * 条件查询什么的
	 * @param paramter
	 * @return
	 */
	List<SensitiveWordsEntity> selectByWord(Map<String, Object> paramter);
	/**
	 *添加敏感词
	 * @param paramter
	 * @return
	 */
	int addSensitiveWords(SensitiveWordsEntity paramter);
	/**
	 * 修改敏感词
	 * @param paramter
	 * @return
	 */
	int updateSensitiveWords(SensitiveWordsEntity paramter);
	/**
	 * 删除敏感词
	 * @param paramter
	 * @return
	 */
	int deleteSentiveWords(List<String> paramter);
	
	List<SensitiveWordsEntity> queryListByPage(Map<String, Object> param);
}
